home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 476-500 / disk_477 / irmaster / background.c < prev    next >
C/C++ Source or Header  |  1992-05-06  |  827b  |  26 lines

  1. /*----------------------- B a c k G r o u n d . c ----------------------*/
  2. /* This routine draws the raised background for the user interface in   */
  3. /* IRMaster.c.  It was put into a seperate module so that the Image     */
  4. /* data could be seperated from the rest of the gadget, text, etc.      */
  5. /* structures in order to be able to fit everything into the available  */
  6. /* RAM space when compiling.                                            */
  7. /*----------------------------------------------------------------------*/
  8.  
  9. #include "irc.h"
  10. #include "IRMasterImage.h"
  11.  
  12. extern struct RastPort *WRPort;
  13.  
  14. int BackGround()
  15. {
  16.    /*--- Draw raised background. */
  17.  
  18.    DrawImage(WRPort, &Image53, (short)0, (short)0);
  19.  
  20.    /*--- Draw border for help messages. */
  21.  
  22.    DrawBorder(WRPort, &Border4, (short)0, (short)0);
  23.  
  24.    return(0);
  25. }
  26.